package com.aerozhonghuan.logisticsmall.modules.user.beans;

import java.io.Serializable;

/**
 * 描述 UserInfo 是授权时的基本信息，UserBean记录了用户的详情信息
 *
 * @author zhangyonghui
 * 创建日期 2019-05-17
 */
public class UserBean implements Serializable {
    private String nickname;
    private String username;
    private String mobile;
    private Company company;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                ", nickname='" + nickname + '\'' +
                ", username='" + username + '\'' +
                ", mobile='" + mobile + '\'' +
                ", company=" + company +
                '}';
    }
}
